﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class ParameterDTO
    {
        /// <summary>
        /// Mã tham số - dùng cho việc cập nhật
        /// </summary>
        private int m_PARAMETER_ID;
        public int PARAMETER_ID
        {
            get { return m_PARAMETER_ID; }
            set { m_PARAMETER_ID = value; }
        }

        /// <summary>
        /// Tuổi cầu thủ tối thiểu
        /// </summary>
        private int m_PLAYER_MIN_AGE;
        public int PLAYER_MIN_AGE
        {
            get { return m_PLAYER_MIN_AGE; }
            set { m_PLAYER_MIN_AGE = value; }
        }

        /// <summary>
        /// Tuổi cầu thủ tối đa
        /// </summary>
        private int m_PLAYER_MAX_AGE;
        public int PLAYER_MAX_AGE
        {
            get { return m_PLAYER_MAX_AGE; }
            set { m_PLAYER_MAX_AGE = value; }
        }

        /// <summary>
        /// Số cầu thủ tối thiểu trong đội
        /// </summary>
        private int m_TEAM_MIN_PLAYERS;
        public int TEAM_MIN_PLAYERS
        {
            get { return m_TEAM_MIN_PLAYERS; }
            set { m_TEAM_MIN_PLAYERS = value; }
        }

        /// <summary>
        /// Số cầu thủ tối đa trong đội
        /// </summary>
        private int m_TEAM_MAX_PLAYERS;
        public int TEAM_MAX_PLAYERS
        {
            get { return m_TEAM_MAX_PLAYERS; }
            set { m_TEAM_MAX_PLAYERS = value; }
        }

        /// <summary>
        /// Số cầu thủ ngoại tối đa trong đội
        /// </summary>
        private int m_TEAM_MAX_FOREIGNPLAYERS;
        public int TEAM_MAX_FOREIGNPLAYERS
        {
            get { return m_TEAM_MAX_FOREIGNPLAYERS; }
            set { m_TEAM_MAX_FOREIGNPLAYERS = value; }
        }

        /// <summary>
        /// Thời điểm ghi bàn tối đa
        /// </summary>
        private int m_GOAL_MAX_GOALTIME;
        public int GOAL_MAX_GOALTIME
        {
            get { return m_GOAL_MAX_GOALTIME; }
            set { m_GOAL_MAX_GOALTIME = value; }
        }

        /// <summary>
        /// Số loại bàn thắng tối đa
        /// </summary>
        private int m_GOAL_MAX_GOALTYPE;
        public int GOAL_MAX_GOALTYPE
        {
            get { return m_GOAL_MAX_GOALTYPE; }
            set { m_GOAL_MAX_GOALTYPE = value; }
        }

        /// <summary>
        /// Điểm thắng
        /// </summary>
        private int m_MATCH_WIN_SCORE;
        public int MATCH_WIN_SCORE
        {
            get { return m_MATCH_WIN_SCORE; }
            set { m_MATCH_WIN_SCORE = value; }
        }
        /// <summary>
        /// Điểm hòa
        /// </summary>
        private int m_MATCH_DRAW_SCORE;
        public int MATCH_DRAW_SCORE
        {
            get { return m_MATCH_DRAW_SCORE; }
            set { m_MATCH_DRAW_SCORE = value; }
        }

        /// <summary>
        /// Điểm thua
        /// </summary>
        private int m_MATCH_LOSE_SCORE;
        public int MATCH_LOSE_SCORE
        {
            get { return m_MATCH_LOSE_SCORE; }
            set { m_MATCH_LOSE_SCORE = value; }
        }
    }

    public static class ParameterColumns
    {
        public static string PARAMETER_ID = "PARAMETER_ID";
        public static string PLAYER_MIN_AGE = "PLAYER_MIN_AGE";
        public static string PLAYER_MAX_AGE = "PLAYER_MAX_AGE";
        public static string TEAM_MIN_PLAYERS = "TEAM_MIN_PLAYERS";
        public static string TEAM_MAX_PLAYERS = "TEAM_MAX_PLAYERS";
        public static string TEAM_MAX_FOREIGNPLAYERS = "TEAM_MAX_FOREIGNPLAYERS";
        public static string GOAL_MAX_GOALTIME = "GOAL_MAX_GOALTIME";
        public static string GOAL_MAX_GOALTYPE = "GOAL_MAX_GOALTYPE";
        public static string MATCH_WIN_SCORE = "MATCH_WIN_SCORE";
        public static string MATCH_DRAW_SCORE = "MATCH_DRAW_SCORE";
        public static string MATCH_LOSE_SCORE = "MATCH_LOSE_SCORE";

    }
}

